package com.rockcent.mall.lib.repository;

import com.rockcent.mall.lib.domain.ProductDetail;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.stereotype.Repository;

/**
 * Created by DK on 16/9/18.
 * 产品详情模型
 */
@Repository
public interface MerchantProductDetailRepository extends JpaRepository<ProductDetail, Long>, JpaSpecificationExecutor{


    ProductDetail findByProductId(Long productId);
}
